Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.suggestbox.core.pageproviders--providers

This contribution is part of XML component org.nuxeo.ecm.platform.suggestbox.core.pageproviders inside nuxeo-platform-suggestbox-core-9.10.jar /OSGI-INF/suggestbox-pageproviders-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <coreQueryPageProvider name="DEFAULT_DOCUMENT_SUGGESTION">
            <property name="maxResults">PAGE_SIZE</property>
            <pattern escapeParameters="true" quoteParameters="false">
              SELECT * FROM Document WHERE ecm:fulltext.dc:title LIKE '?' AND ecm:mixinType !=
              'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND
              ecm:currentLifeCycleState != 'deleted' AND ecm:parentId IS NOT NULL
            </pattern>
            <pageSize>10</pageSize>
          </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

      <coreQueryPageProvider name="DEFAULT_DOCUMENT_SUGGESTION">
        <property name="maxResults">PAGE_SIZE</property>
        <pattern escapeParameters="true" quoteParameters="false">
          SELECT * FROM Document WHERE ecm:fulltext.dc:title LIKE '?' AND ecm:mixinType !=
          'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND
          ecm:currentLifeCycleState != 'deleted' AND ecm:parentId IS NOT NULL
        </pattern>
        <pageSize>10</pageSize>
      </coreQueryPageProvider>

  </extension>